<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script>
			var nun=prompt("请输入第一个数字");
			var num1=prompt("请输入第二个数字");
			var a1=parseInt(nun);
			var a2=parseInt(num1);
			var a3=a1+a2;
			var a4=a1-a2;
			var a5=a1*a2;
			var a6=a1/a2;
			document.write(a1+"+"+a2+"="+a3+"\n\n");
			document.write(a1+"-"+a2+"="+a4+"\n\n");
			document.write(a1+"*"+a2+"="+a5+"\n\n");
			document.write(a1+"/"+a2+"="+a6);
		</script>
	</body>
</html>
